package com.mfin.persistence;

import java.io.Serializable;

public class ObjectIdentity implements Serializable {

	protected Serializable id;
	protected String className;

	public ObjectIdentity(Serializable id, String className) {
		super();
		this.id = id;
		this.className = className;
	}
	public ObjectIdentity(Serializable id, Class<?> claz) {
		super();
		this.id = id;
		this.className = claz.getName();
	}

	public Serializable getId() {
		return id;
	}

	public void setId(Serializable id) {
		this.id = id;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
}
